repo.or.cz
/
and.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Adding some more judges, here and there.
[and.git]
/
Google Code Jam
/
2010
/
Qualification round
/
b-fair
/
gen.rb
blob
ab0ed5275fbe3ad5cb02d37a683ff117a31812db
1
puts 100
2
3
99.times do
4
print "1000 "
5
1000.times do |i|
6
print " " if (i > 0)
7
print (rand * 10**50).to_i
8
end
9
puts
10
end
11
12
13
print "1000 "
14
1000.times do |i|
15
print " " if (i > 0)
16
print(i % 2 == 0 ? 1 : 5)
17
end
18
puts